package refactor.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 记录系统的ip访问请求日志
    * </p>
*
* @author 杨健
* @since 2019-08-19
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 攻击标记
            */
        @TableField("attacked")
    private Boolean attacked;

            /**
            * ip
            */
        @TableField("log_from_ip")
    private String logFromIp;

            /**
            * 日志信息
            */
        @TableField("log_info")
    private String logInfo;

            /**
            * 日志操作人
            */
        @TableField("log_operator")
    private String logOperator;

            /**
            * 日志记录时间
            */
        @TableField("log_time")
    private Long logTime;

            /**
            * url
            */
        @TableField("url")
    private String url;


}
